import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:netflix_frontend/common/bloc/generic_data_cubit.dart';
import 'package:netflix_frontend/common/bloc/generic_data_state.dart';
import 'package:netflix_frontend/domain/movie/entities/movie.dart';
import 'package:netflix_frontend/domain/movie/usecases/get_recommendation_movies.dart';
import 'package:netflix_frontend/domain/tv/entities/tv.dart';
import 'package:netflix_frontend/service_locator.dart';
import 'package:netflix_frontend/domain/tv/usecases/get_recommendation_tvs.dart';

class RecommendationTvs extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return BlocProvider(create: (context)=>GenericDataCubit()..
    getData<List<TvEntity>>(sl<GetRecommendationTvsUsecase>(), params: tvId),
    child: ,
    );
  }

  const RecommendationTvs({required this.tvId});
  final int tvId;
}
